package com.eshopkeeper.provider.sys;


import com.eshopkeeper.core.base.BaseProvider;
import com.eshopkeeper.model.sys.SysMenuBtn;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/8/30.
 */
public interface ISysMenuBtnProvider extends BaseProvider<SysMenuBtn> {

    /**
     * Title:查询二级菜单按钮列表信息
     * @param param
     * @return
     */
    public List<Map<String, Object>> queryMenuBtnList(Map<String, Object> param);

    /**
     * Title:添加菜单按钮信息
     * @param param
     */
    public void insertBtn(Map<String, Object> param);

    /**
     * Title:修改菜单按钮信息
     * @param param
     */
    public void updateBtn(Map<String, Object> param);

    /**
     * Title:启用或者禁用菜单按钮信息
     * @param param
     */
    public void deleteBtn(Map<String, Object> param);

    /**
     * Title:根据角色Id 获取菜单按钮信息
     * @param id
     * @return
     */
    public List<SysMenuBtn> getListBtnByrole(Long id);

}
